package com.hnichr.ump.autoconfigure.salon;

import com.hnichr.ump.common.Constant;
import com.hnichr.ump.common.vo.ModuleVO;
import com.hnichr.ump.salon.SalonConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnClass(SalonConfiguration.class)
@Import(SalonConfiguration.class)
@Slf4j
public class SalonAutoConfiguration {

	public SalonAutoConfiguration() {
		log.info("[AutoConfiguration==>]:Salon Module Loading");
		Constant.addModule(new ModuleVO("Salon","沙龙报名模块"));
	}
}
